package com.text.day2_2;

import java.util.Arrays;

public class ChangJian extends Tools{

    private String[] jcChose= {"突刺","横扫","顺劈","发波"};

    public ChangJian(String name, double attack, String jc) {
        super(name, "长剑", attack, jc);
    }

    public String[] getJcChose() {
        return jcChose;
    }

    public void setJcChose(String[] jcChose) {
        this.jcChose = jcChose;
    }

    @Override
    public String toString() {
        return "ChangJian{" +
                "name='" + getName() + '\'' +
                ", type='" + getType() + '\'' +
                ", attack=" + getAttack() +
                ", jc='" + getJc() + '\'' +
//                ", jcChose=" + Arrays.toString(jcChose) +
                '}';
    }
}
